import request from "@/utils/request";
import type { menuType } from "@/api/rank/type/index";

// 获取排行榜一二级菜单数据
export const reqRankMenu = (sceneId: number) =>
  request.get<any, menuType>(`/revision/rank/v4/rankTabs?sceneId=${sceneId}`);

// 获取排行版二级分类展示数据
export const reqRankData = (rankingId: number) =>
  request.get(`/revision/rank/v4/element?rankingId=${rankingId}`);
